package cn.xq.pethome.employee.service;

import cn.xq.pethome.employee.domain.Employee;
import cn.xq.pethome.employee.domain.EmployeeBo;
import cn.xq.pethome.employee.query.EmployeeQuery;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


public interface IEmployeeService {
    void insert(Employee employee);
    void delete(Long id);
    void update(Employee employee);
    Employee fingone(Long id);
    List<Employee> fingall();
    List<Employee> findquery(EmployeeQuery employeeQuery);
    Long fingquerycount(EmployeeQuery employeeQuery);
    //Long findByParentId(Long id);
    void batchDelete(List<Long> ids);
}
